class AudioPlayer {
    protected boolean openSpeaker(Speaker sp) {
        // 实现细节
    }
}

class StreamingAudioPlayer extends AudioPlayer {
    protected boolean openSpeaker(Speaker sp) {
        // 实现细节
    }
}
